<?php
namespace Home\Controller;
use Common\Controller\CommonController;


class UserController extends CommonController {

	/**
	 * [用户登录]
	 * @return [type] [description]
	 */
	public function loginAction(){
		if(!empty($_POST)){
			if($this->checkVerify($_POST['verify'])){
				echo 'ok';
			}else{
				echo 'no';
			}

		}
		$this->display();
	}

	
	public function registerAction(){
		$this->display();
	}

	public function verifyImgAction(){
    	$this->verify(16,120,50,4);
    }

}



?>